<?php
/**
 *	@package WordPress
 *	@subpackage Carbon_Paper
 */

get_header();
?>
<div class="clear"></div>
<?php 
$term_object = get_term_by( 'slug', $term, $taxonomy); ?>

<div id="category-header">
	<h1><?php echo $term_object->name;?></h1>
	<h3><?php echo $term_object->count;?> buzz</h3>
	<p><?php echo $term_object->description;?></p>
</div>

<?php 
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$query_string = "paged=$paged&$taxonomy=$term&post_type=buzz&orderby=date&order=DESC";
query_posts( $query_string );
?>
<div id="posts">

	<?php global $more; if (have_posts()) : while (have_posts()) : the_post(); ?>
		<?php get_template_part('content','buzz');?>
	<?php endwhile; ?>
	<?php if ( function_exists( 'display_pagination' ) ) display_pagination();?>	<p>&nbsp;</p>
	<div class="clear"></div>

	<?php else : ?>
		<?php get_template_part('content','nomatch');?>
	<?php endif; ?>
</div><!-- /#posts -->


<?php get_template_part('second-column','buzz'); ?>
<?php// if (!is_category()) : get_template_part('third-column','shared'); endif;?>

<?php get_footer(); ?>
</div><!-- /home or articles -->